import { Component, OnInit } from '@angular/core';

declare var form: any;

@Component({
  templateUrl: './portal.work.component.html'
})
export class PortalWorkComponent implements OnInit {

  fs: any = null;
  sysDic: any = null;
  ffs: any = null;

  constructor() {
    this.fs = new form.FormSimpleService('portalwork', {
      orderObject: { id: 0 },
      keyField: 'id',
      randomFields: ['id']
    });
    this.fs.loadData(true);

    this.sysDic = new form.DictionaryService('p_register_service');
    // 文件服务
    this.ffs = new form.FileService();
  }

  ngOnInit() {
  }
}
